package com.bjsxt.entity;

import java.sql.Date;

public class Customer {
	private int id;
	private String userName;
	private int gender;
	private Date birth;
	private String tel;
	public Customer() {

	}
	public Customer(String userName, int gender, Date birth, String tel) {
		this.userName = userName;
		this.gender = gender;
		this.birth = birth;
		this.tel = tel;
	}
	public Customer(int id, String userName, int gender, Date birth, String tel) {
		this.id = id;
		this.userName = userName;
		this.gender = gender;
		this.birth = birth;
		this.tel = tel;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getGender() {
		return gender;
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	@Override
	public String toString() {
		return "Customer [id=" + id + ", userName=" + userName + ", gender=" + gender + ", birth=" + birth + ", tel="
				+ tel + "]";
	}
	
}
